import { createRouter, createWebHistory } from 'vue-router'
import StatisticsAnalysisPage from '@/views/StatisticsAnalysisPage.vue'
import ThreeDServices from '@/views/ThreeDServices/ThreeDServices.vue'
import MainView from '@/views/ScreenPage/MainView.vue'

const routes = [
  {
    path: '/',
    name: 'StatisticsAnalysisPage',
    component: StatisticsAnalysisPage,
  },
  {
    path: '/three-d-services',
    name: 'ThreeDServices',
    component: ThreeDServices,
  },
  {
    path: '/screen',
    name: 'Screen',
    component: MainView,
  },
]

const router = createRouter({
  history: createWebHistory('bychart'),
  routes,
})

export default router
